<?php
/* @var $this MatchingHistoryController */
/* @var $model MatchingHistory */
/* @var $form CActiveForm */
?>

<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'matching-history-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'member_id'); ?>
		<?php echo $form->textField($model,'member_id'); ?>
		<?php echo $form->error($model,'member_id'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'username'); ?>
		<?php echo $form->textField($model,'username',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'username'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'aPoint'); ?>
		<?php echo $form->textField($model,'aPoint'); ?>
		<?php echo $form->error($model,'aPoint'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'bPoint'); ?>
		<?php echo $form->textField($model,'bPoint'); ?>
		<?php echo $form->error($model,'bPoint'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'matching_slot'); ?>
		<?php echo $form->textField($model,'matching_slot'); ?>
		<?php echo $form->error($model,'matching_slot'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'package'); ?>
		<?php echo $form->textField($model,'package',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'package'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'package_price'); ?>
		<?php echo $form->textField($model,'package_price'); ?>
		<?php echo $form->error($model,'package_price'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'package_point'); ?>
		<?php echo $form->textField($model,'package_point'); ?>
		<?php echo $form->error($model,'package_point'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'max_point'); ?>
		<?php echo $form->textField($model,'max_point'); ?>
		<?php echo $form->error($model,'max_point'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'earned_amount'); ?>
		<?php echo $form->textField($model,'earned_amount'); ?>
		<?php echo $form->error($model,'earned_amount'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'newAPoint'); ?>
		<?php echo $form->textField($model,'newAPoint'); ?>
		<?php echo $form->error($model,'newAPoint'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'newBPoint'); ?>
		<?php echo $form->textField($model,'newBPoint'); ?>
		<?php echo $form->error($model,'newBPoint'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'date'); ?>
		<?php echo $form->textField($model,'date'); ?>
		<?php echo $form->error($model,'date'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->